package info.hexin.quartz.job;

import info.hexin.quartz.annotation.CronScheduled;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.stereotype.Component;

/**
 * Created by Administrator on 2016/1/30.
 */
@Component
public class TestJob {
    private static Logger logger = LoggerFactory.getLogger(TestJob.class);


    @CronScheduled(cron = "*/1 * * * * ?", enable = "true")
    public void TestJob() {
        logger.info("===TestJob====");

    }
}
